package com.fyt.reachgo.domain.dto;

import lombok.Data;
import javax.validation.constraints.*;

@Data
public class CommentDTO {
    @NotNull(message = "路书ID不能为空")
    private Integer travelGuideId;

    private Long parentId;

    private Long rootId;

    @Size(max = 2000, message = "评论内容不能超过2000个字符")
    private String content;
}
